package com.yb.module.system.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.yb.framework.core.base.BaseMapper;
import com.yb.module.system.domain.SysMenu;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
	
	List<SysMenu> getListByPermissions(List<String> permissions);
	
	List<SysMenu> getListByParamMap(Map<String, Object> paramMap);
	
	Long getParentId(Long id);
	
	List<Long> getChildIds(Long id);
}